package com.pojo;


import java.util.Date;
import java.util.List;

public class PurchaseMaster {

  private Integer purchaseMasterId;
  private String purchaseNo;
  private String purchaseStatus;
  private String orderStatus;
  private String supplyCode;
  private String createBy;
  private java.util.Date createDate;
  private String updateBy;
  private java.util.Date updateDate;

  private Supply supply;

  public Supply getSupply() {
    return supply;
  }

  public void setSupply(Supply supply) {
    this.supply = supply;
  }
  /*  private List<PurchaseChild> child;

  public List<PurchaseChild> getChild() {
    return child;
  }

  public void setChild(List<PurchaseChild> child) {
    this.child = child;
  }*/

  public Integer getPurchaseMasterId() {
    return purchaseMasterId;
  }

  public void setPurchaseMasterId(Integer purchaseMasterId) {
    this.purchaseMasterId = purchaseMasterId;
  }

  public String getPurchaseNo() {
    return purchaseNo;
  }

  public void setPurchaseNo(String purchaseNo) {
    this.purchaseNo = purchaseNo;
  }

  public String getPurchaseStatus() {
    return purchaseStatus;
  }

  public void setPurchaseStatus(String purchaseStatus) {
    this.purchaseStatus = purchaseStatus;
  }

  public String getOrderStatus() {
    return orderStatus;
  }

  public void setOrderStatus(String orderStatus) {
    this.orderStatus = orderStatus;
  }

  public String getSupplyCode() {
    return supplyCode;
  }

  public void setSupplyCode(String supplyCode) {
    this.supplyCode = supplyCode;
  }

  public String getCreateBy() {
    return createBy;
  }

  public void setCreateBy(String createBy) {
    this.createBy = createBy;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  public String getUpdateBy() {
    return updateBy;
  }

  public void setUpdateBy(String updateBy) {
    this.updateBy = updateBy;
  }

  public Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(Date updateDate) {
    this.updateDate = updateDate;
  }

  @Override
  public String toString() {
    return "PurchaseMaster{" +
            "purchaseMasterId=" + purchaseMasterId +
            ", purchaseNo='" + purchaseNo + '\'' +
            ", purchaseStatus='" + purchaseStatus + '\'' +
            ", orderStatus='" + orderStatus + '\'' +
            ", supplyCode='" + supplyCode + '\'' +
            ", createBy='" + createBy + '\'' +
            ", createDate=" + createDate +
            ", updateBy='" + updateBy + '\'' +
            ", updateDate=" + updateDate +
            '}';
  }
}
